[INFO] cloning repository https://github.com/onnimonni/duckdb-encoding
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/onnimonni/duckdb-encoding" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonnimonni%2Fduckdb-encoding", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonnimonni%2Fduckdb-encoding'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 94a865f1f04e66ec0d93e446e1a59a8bc6bbd285
[INFO] fixing onnimonni/duckdb-encoding against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fonnimonni%2Fduckdb-encoding" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/onnimonni/duckdb-encoding
[INFO] finished tweaking git repo https://github.com/onnimonni/duckdb-encoding
[INFO] tweaked toml for git repo https://github.com/onnimonni/duckdb-encoding written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/onnimonni/duckdb-encoding on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/onnimonni/duckdb-encoding already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791
[INFO] running `Command { std: "docker" "start" "e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling libc v0.2.176
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling rustix v0.38.37
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking arrow-schema v56.1.0
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking lexical-util v1.0.3
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]     Checking num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling rust_decimal v1.36.0
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking lexical-parse-integer v1.0.2
[INFO] [stderr]     Checking lexical-write-integer v1.0.2
[INFO] [stderr]     Checking lexical-write-float v1.0.2
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]     Checking lexical-parse-float v1.0.2
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking hashlink v0.10.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking lexical-core v1.0.2
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]    Compiling filetime v0.2.25
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking regex-automata v0.4.8
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking arrow-buffer v56.1.0
[INFO] [stderr]    Compiling xattr v1.3.1
[INFO] [stderr]    Compiling tar v0.4.42
[INFO] [stderr]     Checking arrow-data v56.1.0
[INFO] [stderr]     Checking arrow-array v56.1.0
[INFO] [stderr]     Checking regex v1.11.0
[INFO] [stderr]    Compiling prettyplease v0.2.22
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]     Checking arrow-select v56.1.0
[INFO] [stderr]     Checking arrow-arith v56.1.0
[INFO] [stderr]     Checking arrow-row v56.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]     Checking arrow-string v56.1.0
[INFO] [stderr]     Checking arrow-ord v56.1.0
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]     Checking comfy-table v7.1.1
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]     Checking arrow-cast v56.1.0
[INFO] [stderr]    Compiling duckdb-loadable-macros v0.1.11
[INFO] [stderr]     Checking arrow v56.1.0
[INFO] [stderr]    Compiling libduckdb-sys v1.4.1
[INFO] [stderr]     Checking duckdb v1.4.1
[INFO] [stderr]     Checking encoding v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `encoding`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 298 ~ unsafe(unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 |     Ok(())
[INFO] [stdout] 302 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]               --> src/lib.rs:297:1
[INFO] [stderr]                |
[INFO] [stderr]            297 | #[duckdb_entrypoint_c_api]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: errors present after applying fixes to crate `encoding`
[INFO] [stderr]  --> src/lib.rs
[INFO] [stderr]   = cause: error: expected item after attributes
[INFO] [stderr]               --> src/lib.rs:297:1
[INFO] [stderr]                |
[INFO] [stderr]            297 | #[duckdb_entrypoint_c_api]
[INFO] [stderr]                | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 1 previous error
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-attributes.html>
[INFO] [stdout]     = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 298 ~ unsafe(unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 |     Ok(())
[INFO] [stdout] 302 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.40s
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] crater-edition-check: encoding v0.3.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking encoding v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 298 ~ unsafe(unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 |     Ok(())
[INFO] [stdout] 302 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: unsafe attribute used without unsafe
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ usage of unsafe attribute
[INFO] [stdout]     |
[INFO] [stdout] help: wrap the attribute in `unsafe(...)`
[INFO] [stdout]     |
[INFO] [stdout] 298 ~ unsafe(unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 |     Ok(())
[INFO] [stdout] 302 ~ })
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `encoding` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning[E0133]: call to unsafe function `libduckdb_sys::duckdb_rs_extension_api_init` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout]     = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ dereference of raw pointer
[INFO] [stdout]     |
[INFO] [stdout]     = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `duckdb::Connection::open_from_raw` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning[E0133]: call to unsafe function `extension_entrypoint` is unsafe and requires unsafe block
[INFO] [stdout]    --> src/lib.rs:298:1
[INFO] [stdout]     |
[INFO] [stdout] 298 | / unsafe fn extension_entrypoint(con: Connection) -> Result<(), Box<dyn Error>> {
[INFO] [stdout] 299 | |     con.register_scalar_function::<ForceUtf8Encoding>("force_utf8_encoding")?;
[INFO] [stdout] 300 | |     con.register_scalar_function::<DetectEncoding>("detect_encoding")?;
[INFO] [stdout] 301 | |     Ok(())
[INFO] [stdout] 302 | | }
[INFO] [stdout]     | |_^ call to unsafe function
[INFO] [stdout]     |
[INFO] [stdout]     = note: consult the function's documentation for information on how to avoid undefined behavior
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/unsafe-op-in-unsafe-fn.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0133`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `encoding` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791", kill_on_drop: false }`
[INFO] [stdout] e031d2ae6f2d20a3c2444541793e5c5d63bfc7328459e5911029a9812c845791
